package exercicio;

public final class Gerente extends Pessoa{
	
	private double salario;
	private double plr;
	
	public void setSalario(double salario){
		if (UtilVini.salarioValido(salario)){
			this.salario = salario;
		}
		else {
			this.salario = 0;
		}
	}
	
	public double getSalario(){
		return this.salario;
	}
//-------------------------------
	
	public void setPlr (double plr){
		if (UtilVini.salarioValido(plr)){
			this.plr = plr;
		}
		else{
			this.plr = 0;
		}
	}
	
	public double getPlr(){
		return this.plr;
	}

	
}
